package com.jk.sec.dao;

import com.jk.MovieBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SecBuyDao {
    MovieBean goupiao(Integer ids);

    List<MovieBean> monthlyFocus();

    List<MovieBean> expect();

    List<MovieBean> boxoffice();

    List<MovieBean> findActor(Integer ids);

    List<MovieBean> relatedMovie(@Param("arr") String[] typeidsplit);

    List<MovieBean> show();

    void changeStatus(Integer movieId);

    void efilm(Integer movieId);

    void star(@Param("ids") Integer ids,@Param("star") Integer star);

    MovieBean scoreStar(Integer ids);

    void updatestar(@Param("ids") Integer ids, @Param("i") Double dou);

    void addLook(Integer ids);

    void updateLook(Integer ids);
}
